import { Column, Entity } from 'typeorm'
import { App } from 'src/app.entity'
@Entity()
export class Account extends App {
  @Column({ type: 'decimal', precision: 10, scale: 2, name: 'lunch_salary' })
  lunchSalary: number
  @Column({ type: 'decimal', precision: 10, scale: 2, name: 'traffic_salary' })
  trafficSalary: number
  @Column({ type: 'decimal', precision: 10, scale: 2, name: 'basis_salary' })
  basisSalary: number
  @Column({ type: 'decimal', precision: 10, scale: 2, name: 'all_salary' })
  allSalary: number
  @Column({ type: 'varchar', length: 15 })
  name: string
}
